package 设计模式.第1部分.第8章_工厂模式.v1;

public class App {
	public static void main(String[] args) {
		LeiFeng student1 = new Undergraduate();
		student1.BuyRice();
		LeiFeng student2 = new Undergraduate();
		student2.Sweep();
		LeiFeng student3 = new Undergraduate();
		student3.Wash();
	}
}
